package com.gupao.jly521.core;

import java.lang.reflect.Method;

/**
 * @author Jly
 * @date 2018/9/4  14:49
 */
public class Event {

    private Object source;

    private Object target;

    private Method callBack;

    public Event(Object source, Object target, Method callBack) {
        this.source = source;
        this.target = target;
        this.callBack = callBack;
    }

    public Object getSource() {
        return source;
    }

    public void setSource(Object source) {
        this.source = source;
    }

    public Object getTarget() {
        return target;
    }

    public void setTarget(Object target) {
        this.target = target;
    }

    public Method getCallBack() {
        return callBack;
    }

    public void setCallBack(Method callBack) {
        this.callBack = callBack;
    }
}
